<%= form_for(@order) do |f| %>
  <% if @order.errors.any? %>
    <div id="error_explanation">
      <h2>Error:</h2>

      <ul>
      <% @order.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div>
    <%= f.label :comments, 'Comentarios' %><br />
    <%= f.text_area :comments, :class => "textarea-field" %>
  </div>

  <div class="actions">
        <div class="col-md-12 cart-but" style="margin-bottom: 0 !important; padding-left: 0 !important; margin-top: 20px;">
        <div class="cart-but-left">
            <a class="continue" id="send-order" onclick="$(this).parents('form').submit();" href="#">ENVIAR PEDIDO</a>
            <div id="after-send-message">REALIZANDO PEDIDO...</div>
        </div>

        <div class="cart-but-right">
            <div class="clear-cart-but">

            </div>
            <br>
            <br>
        </div>
    </div>
  </div>
<% end %>
